package com.ruoyi.biz.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 接触网开关记录对象 biz_catenary_switch_record
 * 
 * @author cc
 * @date 2025-11-15
 */
public class BizCatenarySwitchRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 部门id */
    private Long deptId;

    /** 操作命令 **/
    @Excel(name = "操作命令")
    private String cmd;
    /** 开关ID */
    @Excel(name = "开关ID")
    private Long switchId;

    /** 开关名称 */
    @Excel(name = "开关名称")
    private String switchName;
    /** 图纸ID */
    @Excel(name = "图纸ID")
    private Long drawingId;

    /** 操作员ID */
    @Excel(name = "操作员ID")
    private Long operatorId;

    /** 操作员工号 */
    @Excel(name = "操作员工号")
    private String operatorWorkNumber;

    /** 操作员姓名 */
    @Excel(name = "操作员姓名")
    private String operatorName;

    /** 确认员ID */
    private Long confirmerId;

    /** 确认员工号 */
    @Excel(name = "确认员工号")
    private String confirmerWorkNumber;

    /** 确认员姓名 */
    @Excel(name = "确认员姓名")
    private String confirmerName;

    /** 打开时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "打开时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date openTime;

    /** 关闭时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "关闭时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date closeTime;

    /** 审核通过时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "审核通过时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date approvalTime;

    /** 当前审核人ID */
    private Long currentApproverId;

    /** 当前审核人工号 */
    private String currentApproverWorkNumber;

    /** 当前审核人姓名 */
    private String currentApproverName;

    /** 描述信息 */
    @Excel(name = "描述信息")
    private String description;

    /** 标准参数 */
    private String standardParams;

    /** 自定义参数 */
    private String customParams;

    /** 扩展信息 */
    private String ext;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setDeptId(Long deptId) 
    {
        this.deptId = deptId;
    }

    public Long getDeptId() 
    {
        return deptId;
    }

    public void setDrawingId(Long drawingId) 
    {
        this.drawingId = drawingId;
    }

    public Long getDrawingId() 
    {
        return drawingId;
    }

    public void setOperatorId(Long operatorId) 
    {
        this.operatorId = operatorId;
    }

    public Long getOperatorId() 
    {
        return operatorId;
    }

    public void setOperatorWorkNumber(String operatorWorkNumber) 
    {
        this.operatorWorkNumber = operatorWorkNumber;
    }

    public String getOperatorWorkNumber() 
    {
        return operatorWorkNumber;
    }

    public void setOperatorName(String operatorName) 
    {
        this.operatorName = operatorName;
    }

    public String getOperatorName() 
    {
        return operatorName;
    }

    public void setConfirmerId(Long confirmerId) 
    {
        this.confirmerId = confirmerId;
    }

    public Long getConfirmerId() 
    {
        return confirmerId;
    }

    public void setConfirmerWorkNumber(String confirmerWorkNumber) 
    {
        this.confirmerWorkNumber = confirmerWorkNumber;
    }

    public String getConfirmerWorkNumber() 
    {
        return confirmerWorkNumber;
    }

    public void setConfirmerName(String confirmerName) 
    {
        this.confirmerName = confirmerName;
    }

    public String getConfirmerName() 
    {
        return confirmerName;
    }

    public void setOpenTime(Date openTime) 
    {
        this.openTime = openTime;
    }

    public Date getOpenTime() 
    {
        return openTime;
    }

    public void setCloseTime(Date closeTime) 
    {
        this.closeTime = closeTime;
    }

    public Date getCloseTime() 
    {
        return closeTime;
    }

    public void setApprovalTime(Date approvalTime) 
    {
        this.approvalTime = approvalTime;
    }

    public Date getApprovalTime() 
    {
        return approvalTime;
    }

    public void setCurrentApproverId(Long currentApproverId) 
    {
        this.currentApproverId = currentApproverId;
    }

    public Long getCurrentApproverId() 
    {
        return currentApproverId;
    }

    public void setCurrentApproverWorkNumber(String currentApproverWorkNumber) 
    {
        this.currentApproverWorkNumber = currentApproverWorkNumber;
    }

    public String getCurrentApproverWorkNumber() 
    {
        return currentApproverWorkNumber;
    }

    public void setCurrentApproverName(String currentApproverName) 
    {
        this.currentApproverName = currentApproverName;
    }

    public String getCurrentApproverName() 
    {
        return currentApproverName;
    }

    public void setDescription(String description) 
    {
        this.description = description;
    }

    public String getDescription() 
    {
        return description;
    }

    public void setStandardParams(String standardParams) 
    {
        this.standardParams = standardParams;
    }

    public String getStandardParams() 
    {
        return standardParams;
    }

    public void setCustomParams(String customParams) 
    {
        this.customParams = customParams;
    }

    public String getCustomParams() 
    {
        return customParams;
    }

    public void setExt(String ext) 
    {
        this.ext = ext;
    }

    public String getExt() 
    {
        return ext;
    }

    public Long getSwitchId() {
        return switchId;
    }

    public void setSwitchId(Long switchId) {
        this.switchId = switchId;
    }

    public String getSwitchName() {
        return switchName;
    }

    public void setSwitchName(String switchName) {
        this.switchName = switchName;
    }

    public String getCmd() {
        return cmd;
    }

    public void setCmd(String cmd) {
        this.cmd = cmd;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("deptId", getDeptId())
            .append("drawingId", getDrawingId())
            .append("switchId", getSwitchId())
            .append("cmd", getCmd())
            .append("switchName", getSwitchName())
            .append("operatorId", getOperatorId())
            .append("operatorWorkNumber", getOperatorWorkNumber())
            .append("operatorName", getOperatorName())
            .append("confirmerId", getConfirmerId())
            .append("confirmerWorkNumber", getConfirmerWorkNumber())
            .append("confirmerName", getConfirmerName())
            .append("openTime", getOpenTime())
            .append("closeTime", getCloseTime())
            .append("approvalTime", getApprovalTime())
            .append("currentApproverId", getCurrentApproverId())
            .append("currentApproverWorkNumber", getCurrentApproverWorkNumber())
            .append("currentApproverName", getCurrentApproverName())
            .append("description", getDescription())
            .append("standardParams", getStandardParams())
            .append("customParams", getCustomParams())
            .append("ext", getExt())
            .toString();
    }
}
